package com.koron.order.repair.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.repair.bean.entity.RepairItemParamsPo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (RepairItemParams)表服务接口
 *
 * @author zhouj
 * @since 2021-09-23 16:00:00
 */
public interface RepairItemParamsService extends CommonService {

    int insert(SessionFactory factory, RepairItemParamsPo repairItemParams);

    int insertBatch(SessionFactory factory, List<RepairItemParamsPo> repairItemParams);

    int update(SessionFactory factory, RepairItemParamsPo repairItemParams);

    int deleteById(SessionFactory factory, String id);

    int deleteByItemId(SessionFactory factory, String itemId);

    int deleteByRepairId(SessionFactory factory, String repairId);

    RepairItemParamsPo queryById(SessionFactory factory, String id);

    List<RepairItemParamsPo> queryList(SessionFactory factory, RepairItemParamsPo repairItemParams);

}
